package com.ruoyi.system.domain.fx;

import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分销提成对象 fx_distribution
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
@Data
@Accessors(chain = true , fluent = true)
public class FxDistribution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private String orderMoney;

    /** 提成 */
    @Excel(name = "提成")
    private String percentage;


    /** 店铺id */
    @Excel(name = "店铺id")
    private Long storeId;

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setOrderMoney(String orderMoney) 
    {
        this.orderMoney = orderMoney;
    }

    public String getOrderMoney() 
    {
        return orderMoney;
    }
    public void setPercentage(String percentage) 
    {
        this.percentage = percentage;
    }

    public String getPercentage() 
    {
        return percentage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("orderId", getOrderId())
            .append("orderMoney", getOrderMoney())
            .append("percentage", getPercentage())
            .append("createTime", getCreateTime())
            .toString();
    }
}
